// switch 语句
package main

import "fmt"

func main() {
	a := 2
	switch a {
	case 2:
		fmt.Printf("a == %d\n", a)
	case 3:
		fmt.Printf("a == %d\n", a)
	case 4:
		fmt.Printf("a == %d\n", a)
	default:
		fmt.Printf("default")
	}
}